﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditVoterReport.aspx.cs" Inherits="Votations.NSurvey.WebAdmin.EditVoterReport" MasterPageFile="~/Admin/Admin.Master" %>
<asp:content id="Content1" contentplaceholderid="ContentLinkAction" runat="server">
 <span class="action-span">
 <a href="ResultsReporting.aspx?SurveyID=<%=SurveyId %>"><%=GetPageResource("GraphicResultsReportHyperlink") %></a>  |
 <a href="FieldReporting.aspx?SurveyID=<%=SurveyId %>"><%=GetPageResource("TextFieldsResultsReportHyperlink") %></a>  |
 <a href="ResultsCrossTabulation.aspx?SurveyID=<%=SurveyId %>"> <%=GetPageResource("CrossTabResultsReportHyperlink") %></a>|
<a href="ExportData.aspx?SurveyID=<%=SurveyId %>"><%=GetPageResource("ExportDataHyperlink") %></a>

</span>
</asp:content>
<asp:content id="Content2" contentplaceholderid="ContentTitle" runat="server">
</asp:content>
<asp:content id="Content3" contentplaceholderid="ContentMain" runat="server">
<table>
<tr>
<td class="contentCell"  valign="top">
<asp:Label id=MessageLabel runat="server" ForeColor="Green" Visible="False"></asp:Label>
	
	<Table Class="Innertext">
	<Tr>
	<Td Colspan="2">
	<Font Class="Titlefont"><asp:Literal id="VoterInformationTitle" runat="server" EnableViewState="False">Voter information</asp:Literal></Font>
	<Br><Img Src="images/Linebreak.Gif">
	</Td>
	</Tr>
	<Tr>
	<Td>
	&nbsp;&nbsp;
	</Td>
	<Td>
		<Table Class="Innertext" >
        <tr>
          <td width="160"><STRONG><asp:Literal id="VoterDBIDLabel" runat="server" EnableViewState="False">Voter DB ID :</asp:Literal></STRONG> 
		  </td>
          <td><asp:Label id="VoterUIDLabel" runat="server"></asp:Label>
		  </td>
		</tr>				
              <tr>
                <td width=160><STRONG 
                  ><asp:literal id="VoterUserNameLabel" 
                   runat="server" 
                  EnableViewState="False">Voter user name :</asp:literal></STRONG> 
                </td>
                <td><asp:label id="VoterUserName" runat="server"></asp:label></td></tr>
        <tr>
          <td width="160"><STRONG><asp:Literal id="VoterEmailLabel" runat="server" EnableViewState="False">Voter Email :</asp:Literal></STRONG> 
		  </td>
          <td><asp:Label id="VoterEmail" runat="server"></asp:Label>
		  </td>
		</tr>				
        <tr>
          <td width="160"><STRONG><asp:Literal id="VoterIPAddressLabel" runat="server" EnableViewState="False">IP address :</asp:Literal></STRONG> 
		  </td>
          <td><asp:Label id="IPAddressLabel" runat="server"></asp:Label>
		  </td>
		</tr>				
        <tr>
          <td width="160"><STRONG><asp:Literal id="VoteRecordedLabel" runat="server" EnableViewState="False">Vote recorded on :</asp:Literal></STRONG> 
		  </td>
          <td><asp:Label id="VoteDateLabel" runat="server"></asp:Label>
		  </td>
		</tr>				
        <tr>
          <td valign="top" width="160"><STRONG><asp:Literal id="TimeToTakeLabel" runat="server" EnableViewState="False">Time to take the survey :</asp:Literal></STRONG> 
		  </td>
          <td><asp:Label id="TimeToTakeSurveyLabel" runat="server"></asp:Label>&nbsp;<br><br>
		  </td>
		</tr>				
		</Table>	
	</Td>
	</Tr>
	</Table>
	<br>	
	<asp:PlaceHolder id="AddInVoterDataPlaceHolder" runat="server"></asp:PlaceHolder>
	<br>
	<Table Class="Innertext">
	<Tr>
	<Td Colspan="2">
	<Font Class="Titlefont"><asp:Literal id="EditSurveyAnswersTitle" runat="server" EnableViewState="False" Text="Edit survey answers"></asp:Literal></Font> - <asp:LinkButton id=ReadOnlyAnswersLinkButton runat="server" onclick="ReadOnlyAnswersLinkButton_Click">Enter voter'sanswers read only mode</asp:LinkButton>
	<Br><Img Src="images/Linebreak.Gif">
	</Td>
	</Tr>
	<Tr>
	<Td>
	&nbsp;&nbsp;
	</Td>
	<Td>
		<Table Class="Innertext" >
			<tr>
			<td><asp:PlaceHolder id=EditAnswersPlaceHolder runat="server"></asp:PlaceHolder><BR><asp:Button id=UpdateVoterAnswersButton runat="server" Text="Update answers" onclick="UpdateVoterAnswersButton_Click"></asp:Button>
				</td></tr>
		</Table>	
	</Td>
	</Tr>
	</Table>

</td></tr>
</table>
</asp:content>